<template>
    <div class="receive">
      <!-- 返回图标 -->
      <img src="../assets/icons/receive.svg" class="back-icon" @click="goBack" />
      <!-- Wallet 相关内容 -->
    </div>
  </template>
  
  <script setup>
  import { useRouter } from 'vue-router';
  
  const router = useRouter();
  
  function goBack() {
    router.push('/');
  }
  </script>
  
  <style scoped>
  .back-icon {
    position: absolute;
    top: 20px; /* 根据实际情况调整 */
    left: 20px; /* 根据实际情况调整 */
    cursor: pointer;
    width: 24px; /* 根据需要调整图标大小 */
    height: 24px; /* 根据需要调整图标大小 */
  }
  .receive{
    color: #000;
  }
  </style>